[
 {
  "owner": "Administrator", 
  "docstatus": 0, 
  "creation": "2010-08-08 17:09:35", 
  "modified_by": "Administrator", 
  "modified": "2012-05-08 11:50:18"
 }, 
 {
  "name": "__common__", 
  "parent": "Sales Order-Delivery Note", 
  "doctype": "Table Mapper Detail", 
  "parenttype": "DocType Mapper", 
  "parentfield": "table_mapper_details"
 }, 
 {
  "name": "__common__", 
  "parent": "Sales Order-Delivery Note", 
  "doctype": "Field Mapper Detail", 
  "parenttype": "DocType Mapper", 
  "parentfield": "field_mapper_details"
 }, 
 {
  "name": "__common__", 
  "to_doctype": "Delivery Note", 
  "module": "Stock", 
  "doctype": "DocType Mapper", 
  "ref_doc_submitted": 1, 
  "from_doctype": "Sales Order"
 }, 
 {
  "name": "Sales Order-Delivery Note", 
  "doctype": "DocType Mapper"
 }, 
 {
  "map": "Yes", 
  "match_id": 0, 
  "to_field": "sales_order_no", 
  "doctype": "Field Mapper Detail", 
  "from_field": "name"
 }, 
 {
  "map": "Yes", 
  "match_id": 0, 
  "to_field": "company", 
  "doctype": "Field Mapper Detail", 
  "from_field": "company", 
  "checking_operator": "="
 }, 
 {
  "map": "Yes", 
  "match_id": 0, 
  "to_field": "currency", 
  "doctype": "Field Mapper Detail", 
  "from_field": "currency", 
  "checking_operator": "="
 }, 
 {
  "map": "Yes", 
  "match_id": 0, 
  "to_field": "customer_address", 
  "doctype": "Field Mapper Detail", 
  "from_field": "shipping_address_name"
 }, 
 {
  "map": "Yes", 
  "match_id": 0, 
  "to_field": "address_display", 
  "doctype": "Field Mapper Detail", 
  "from_field": "shipping_address"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "prevdoc_docname", 
  "doctype": "Field Mapper Detail", 
  "from_field": "parent"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "prevdoc_doctype", 
  "doctype": "Field Mapper Detail", 
  "from_field": "parenttype"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "prevdoc_detail_docname", 
  "doctype": "Field Mapper Detail", 
  "from_field": "name"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "export_amount", 
  "doctype": "Field Mapper Detail", 
  "from_field": "eval: (flt(obj.qty) - flt(obj.delivered_qty)) * flt(obj.export_rate)"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "export_rate", 
  "doctype": "Field Mapper Detail", 
  "from_field": "export_rate", 
  "checking_operator": "="
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "qty", 
  "doctype": "Field Mapper Detail", 
  "from_field": "eval: flt(obj.qty) - flt(obj.delivered_qty)"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "amount", 
  "doctype": "Field Mapper Detail", 
  "from_field": "eval: (flt(obj.qty) - flt(obj.delivered_qty)) * flt(obj.basic_rate)"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "warehouse", 
  "doctype": "Field Mapper Detail", 
  "from_field": "reserved_warehouse"
 }, 
 {
  "map": "Yes", 
  "match_id": 0, 
  "to_field": "project_name", 
  "doctype": "Field Mapper Detail", 
  "from_field": "project_name", 
  "checking_operator": "="
 }, 
 {
  "map": "Yes", 
  "match_id": 0, 
  "to_field": "customer", 
  "doctype": "Field Mapper Detail", 
  "from_field": "customer", 
  "checking_operator": "="
 }, 
 {
  "map": "No", 
  "match_id": 0, 
  "to_field": "naming_series", 
  "doctype": "Field Mapper Detail", 
  "from_field": "naming_series"
 }, 
 {
  "map": "No", 
  "match_id": 0, 
  "to_field": "status", 
  "doctype": "Field Mapper Detail", 
  "from_field": "status"
 }, 
 {
  "map": "No", 
  "match_id": 3, 
  "to_field": "incentives", 
  "doctype": "Field Mapper Detail", 
  "from_field": "incentives"
 }, 
 {
  "match_id": 3, 
  "to_field": "sales_team", 
  "doctype": "Table Mapper Detail", 
  "from_field": "sales_team", 
  "from_table": "Sales Team", 
  "to_table": "Sales Team", 
  "validation_logic": "name is not null"
 }, 
 {
  "match_id": 2, 
  "to_field": "other_charges", 
  "doctype": "Table Mapper Detail", 
  "from_field": "other_charges", 
  "from_table": "Sales Taxes and Charges", 
  "to_table": "Sales Taxes and Charges", 
  "validation_logic": "name is not null"
 }, 
 {
  "reference_key": "prevdoc_detail_docname", 
  "match_id": 1, 
  "reference_doctype_key": "prevdoc_doctype", 
  "to_field": "delivery_note_details", 
  "doctype": "Table Mapper Detail", 
  "from_field": "sales_order_details", 
  "from_table": "Sales Order Item", 
  "to_table": "Delivery Note Item", 
  "validation_logic": "qty > ifnull(delivered_qty,0) and docstatus = 1"
 }, 
 {
  "reference_key": "prevdoc_docname", 
  "match_id": 0, 
  "doctype": "Table Mapper Detail", 
  "from_table": "Sales Order", 
  "to_table": "Delivery Note", 
  "validation_logic": "docstatus = 1"
 }
]